<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<html>
    <head>
        <title>
            Demo for reactive simple vue
        </title>
        <script src="kvue.js"></script>
    </head>

    <body>
        <!-- <div>
            <p>{{counter}}</p>
            <p>{{counter}}</p>
        </div> -->
        <div id="app"></div>

        <script>
            const foo = {}
            const app = document.getElementById("app");
            set(foo, 'foo', '')
            function update () {
                app.innerText = foo.foo
            }
            
            setInterval(() => {
                foo.foo = new Date();
                update();
            }, 1000)
        </script>
    </body>
</html>